package com.chenjt.netty.seven_decorator;

/**
 * 注释：客户端使用
 *
 * @author chenjt
 * @date 2024/8/19 11:25
 */
public class Client {


    public static void main(String[] args) {
        Component component =
                new ConcreteDecorator2(new ConcreteDecorator1(new ConcreteComponent()));

//        Component component =
//                new ConcreteDecorator2(new ConcreteDecorator1());

        component.doSomething();

    }


}
